package com.enki.cigarettes.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName IndexTemplateT
 * @Description TODO
 * @Author glory
 * @Date 2018/10/23 19:42
 * @Version 1.0
 **/

@Entity
@Table(name = "index_categorys_mobile_template_t")
public class IndexCategorysMobileTemplateT implements java.io.Serializable {
    private String id;
    private String name;
    private String parentId;
    private String areatag;
    private String subtitle;
    private String title;
    private String picture;
    private String linkurl;
    private String customlabel;
    private int price;
    private int sort;
    private String proCategoryId;
    private String designby;
    private boolean enablestatus;
    private boolean removed;

    public IndexCategorysMobileTemplateT(String id, String name, String parentId, String areatag, String subtitle, String title, String picture, String linkurl, String customlabel, int price, int sort, String proCategoryId, String designby, boolean enablestatus, boolean removed) {
        this.id = id;
        this.name = name;
        this.parentId = parentId;
        this.areatag = areatag;
        this.subtitle = subtitle;
        this.title = title;
        this.picture = picture;
        this.linkurl = linkurl;
        this.customlabel = customlabel;
        this.price = price;
        this.sort = sort;
        this.proCategoryId = proCategoryId;
        this.designby = designby;
        this.enablestatus = enablestatus;
        this.removed = removed;
    }

    public IndexCategorysMobileTemplateT() {
    }

    @Id
    @Column(name = "id",nullable = false,unique = true, length = 25)
    public String getId() {
        return id;
    }

    @Column(name = "name", length = 25)
    public String getName() {
        return name;
    }

    @Column(name = "parentId", length = 25)
    public String getParentId() {
        return parentId;
    }

    @Column(name = "subtitle", length = 25)
    public String getSubtitle() {
        return subtitle;
    }

    @Column(name = "title", length = 25)
    public String getTitle() {
        return title;
    }

    @Column(name = "picture", length = 25)
    public String getPicture() {
        return picture;
    }

    @Column(name = "linkurl", length = 25)
    public String getLinkurl() {
        return linkurl;
    }

    @Column(name = "customlabel", length = 25)
    public String getCustomlabel() {
        return customlabel;
    }

    @Column(name = "price")
    public int getPrice() {
        return price;
    }

    @Column(name = "sort")
    public int getSort() {
        return sort;
    }

    @Column(name = "designby", length = 25)
    public String getDesignby() {
        return designby;
    }


    @Column(name = "pro_category_id", length = 25)
    public String getProCategoryId() {
        return proCategoryId;
    }

    public void setProCategoryId(String proCategoryId) {
        this.proCategoryId = proCategoryId;
    }

    @Column(name = "removed")
    public boolean isRemoved() {
        return removed;
    }

    @Column(name = "enablestatus")
    public boolean isEnablestatus() {
        return enablestatus;
    }

    public void setEnablestatus(boolean enablestatus) {
        this.enablestatus = enablestatus;
    }

    @Column(name = "areatag")
    public String getAreatag() {
        return areatag;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public void setLinkurl(String linkurl) {
        this.linkurl = linkurl;
    }

    public void setCustomlabel(String customlabel) {
        this.customlabel = customlabel;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public void setDesignby(String designby) {
        this.designby = designby;
    }

    public void setRemoved(boolean removed) {
        this.removed = removed;
    }


    public void setAreatag(String areatag) {
        this.areatag = areatag;
    }
}
